package com.ruoyi.iot.hikvision.ys;

public class YsDeviceInfoResponse {
    private String code;
    private String msg;
    private DeviceInfo data;


    public static class DeviceInfo{
        private String deviceSerial;//": "427734168",
        private String deviceName;//": "",
        private String model;//": "",
        private int status;//": 1,
        private int defence;//": 0,
        private int isEncrypt;//": 1,
        private int alarmSoundMode;//": 2,
        private int offlineNotify;//": 1,
        private String category;//": "C5Si"

        public String getDeviceSerial() {
            return deviceSerial;
        }

        public void setDeviceSerial(String deviceSerial) {
            this.deviceSerial = deviceSerial;
        }

        public String getDeviceName() {
            return deviceName;
        }

        public void setDeviceName(String deviceName) {
            this.deviceName = deviceName;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getDefence() {
            return defence;
        }

        public void setDefence(int defence) {
            this.defence = defence;
        }

        public int getIsEncrypt() {
            return isEncrypt;
        }

        public void setIsEncrypt(int isEncrypt) {
            this.isEncrypt = isEncrypt;
        }

        public int getAlarmSoundMode() {
            return alarmSoundMode;
        }

        public void setAlarmSoundMode(int alarmSoundMode) {
            this.alarmSoundMode = alarmSoundMode;
        }

        public int getOfflineNotify() {
            return offlineNotify;
        }

        public void setOfflineNotify(int offlineNotify) {
            this.offlineNotify = offlineNotify;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }
    }


    public DeviceInfo getData() {
        return data;
    }

    public void setData(DeviceInfo data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
